﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UFPE.CIn.Abc.Primality.Util;

namespace UFPE.CIn.Abc.Primality.Algorithms
{
    public interface IAlgorithm
    {
        bool IsPrime(BigInteger x);

        bool IsPrime(BigInteger x, bool trialDivisionFirst2kPrimes);

        long TimeLastRun
        {
            get;
        }

        string AlgorithmName
        {
            get;
        }

        long Threshold
        {
            get;
        }
    }
}
